package com.hejx.security.pojo;

import java.util.Date;

public class User {
    private Long id;

    private Long organizationId;

    private String username;

    private String password;

    private Date dataUpdateTime;

    private String dataUpdateUser;

    private Date dataCreateTime;

    private String dataCreateUser;

    private Boolean isDelete;

    public User(Long id, Long organizationId, String username, String password, Date dataUpdateTime, String dataUpdateUser, Date dataCreateTime, String dataCreateUser, Boolean isDelete) {
        this.id = id;
        this.organizationId = organizationId;
        this.username = username;
        this.password = password;
        this.dataUpdateTime = dataUpdateTime;
        this.dataUpdateUser = dataUpdateUser;
        this.dataCreateTime = dataCreateTime;
        this.dataCreateUser = dataCreateUser;
        this.isDelete = isDelete;
    }

    public User() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getDataUpdateTime() {
        return dataUpdateTime;
    }

    public void setDataUpdateTime(Date dataUpdateTime) {
        this.dataUpdateTime = dataUpdateTime;
    }

    public String getDataUpdateUser() {
        return dataUpdateUser;
    }

    public void setDataUpdateUser(String dataUpdateUser) {
        this.dataUpdateUser = dataUpdateUser == null ? null : dataUpdateUser.trim();
    }

    public Date getDataCreateTime() {
        return dataCreateTime;
    }

    public void setDataCreateTime(Date dataCreateTime) {
        this.dataCreateTime = dataCreateTime;
    }

    public String getDataCreateUser() {
        return dataCreateUser;
    }

    public void setDataCreateUser(String dataCreateUser) {
        this.dataCreateUser = dataCreateUser == null ? null : dataCreateUser.trim();
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }
}